#pragma once

class Player;
class InputManager;

class PlayerContainer
{

public:
    PlayerContainer(std::vector<Packets::PlayerStartInfo> & playerStartInfoList, int localId);
    ~PlayerContainer();
    void update(float dt);
    Player* getPlayer(int id);
    unsigned int nExternalPlayers();
	int getLocalPlayerId();
	std::vector<Player*> getEnemyPlayers(Player* player);

	Player* localPlayer;
	std::vector<Player*> externalPlayers;
private:
    std::vector<unsigned char> serializedBuffer;
};

